home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Source / MiscMergeKit / _MiscMergeQuery.h < prev    next >
Encoding:
Text File  |  1995-07-08  |  1.4 KB  |  50 lines

  1. //
  2. //    _MiscMergeQuery.h -- GUI controller for obtaining user feedback
  3. //        Written by Don Yacktman Copyright (c) 1995 by Don Yacktman.
  4. //                Version 1.0.  All rights reserved.
  5. //        This notice may not be removed from this source code.
  6. //
  7. //    This object is included in the MiscKit by permission from the author
  8. //    and its use is governed by the MiscKit license, found in the file
  9. //    "LICENSE.rtf" in the MiscKit distribution.  Please refer to that file
  10. //    for a list of all applicable permissions and restrictions.
  11. //    
  12.  
  13. // Not yet documented and the .nib file isn't yet available, so it doesn't
  14. // really do you a lot of good yet.  It is easy enough to figure out,
  15. // however, so...use it if you want to!
  16.  
  17. #import <misckit/misckit.h>
  18.  
  19. typedef enum _MiscMergeQueryStatus {
  20.         MISC_QueryNone = 0,
  21.         MISC_QueryInProgress,
  22.         MISC_QueryAccepted,
  23.         MISC_QueryCancelled
  24. } MiscMergeQueryStatus;
  25.  
  26. @interface _MiscMergeQuery : MiscNibController
  27. {
  28.     MiscMergeQueryStatus status;
  29.     id dataField;
  30.     id button1;
  31.     id button2;
  32.     id titleField;
  33.     id questionField;
  34. }
  35.  
  36. + new;
  37. + alloc;
  38. - init;
  39. - showWindow:sender;
  40. - acceptQuery:sender;
  41. - cancelQuery:sender;
  42. - setQuestion:(const char *)aString;
  43. - setTitle:(const char *)aString;
  44. - setButtonTitles:(const char *)aString and:(const char *)bString;
  45. - (const char *)stringValue;
  46. - (MiscMergeQueryStatus)status;
  47. - (const char *)getLocalStringFor:(const char *)aString;
  48.  
  49. @end
  50.